SimplePay\Core\RestApi\Internal\Report\PaymentInfoReport S

Total Complexity 42
Dependencies 5
Dependents 1
Total lines 355
Lines of code 224
Logical lines of code 108
Comment lines 93
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
get_payment_method_type_color()
A
50 13 30
format_payment_statuses()
S
45 6 44
get_payment_method_type_label()
S
51 7 28
format_payment_method_types()
S
51 3 29
get_grouped_results()
S
59 3 14
get_report()
S
50 1 34
get_payment_status_label()
S
64 3 10
get_payment_status_color()
S
65 3 10
register_route()
S
59 1 17
get_subscribed_events()
S
74 1 5
can_view_report()
S
80 1 3